// import request from 'umi-request';
import request from '@/utils/request'

export function create(params) {
    return request('/api/gmstask/v1/insert', {
        method: 'post',
        data: params
    });
}

export function remove(params) {
    return request('/api/gmstask/v1/remove', {
        method: 'post',
        data: params
    });
}

export function patch(params) {
    return request('/api/gmstask/v1/update', {
        method: 'post',
        data: params
    });
}

export function fetch(params) {
    return request('/api/gmstask/v1/task/task/gettasklist', {
        method: 'post',
        data: params
    });
}
